package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 个人扫码单对象 zsyh_person_order
 * 
 * @author yuexl
 * @date 2024-08-22
 */
public class ZsyhPersonOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id  个人单 扫码单 */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 联系人 */
    @Excel(name = "联系人")
    private String userName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String userPhone;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String userAddress;

    /** 故障类型（表 service_type Id） */
    @Excel(name = "故障类型", readConverterExp = "表=,s=ervice_type,I=d")
    private String serviceTypeId;

    /** 故障说明 服务要求 */
    @Excel(name = "故障说明 服务要求")
    private String faultComment;

    /** 订单状态 0未接单 1已接单 2已完成 3已支付 4已评价 5已取消 6系统自动取消 */
    @Excel(name = "订单状态 0未接单 1已接单 2已完成 3已支付 4已评价 5已取消 6系统自动取消")
    private String orderState;

    /** 维修数量 产品数量 */
    @Excel(name = "维修数量 产品数量")
    private Long orderNumber;

    /** 下单上传图片 多个用|隔开 */
    @Excel(name = "下单上传图片 多个用|隔开")
    private String orderImage;

    /** 完工图片 多个用|隔开 */
    @Excel(name = "完工图片 多个用|隔开")
    private String completeImage;

    /** 完工订单备注 */
    @Excel(name = "完工订单备注")
    private String completeRemark;

    /** 提成点管辖区域 多个用逗号隔开 （通过扫码下单） */
    @Excel(name = "提成点管辖区域 多个用逗号隔开 ", readConverterExp = "通=过扫码下单")
    private String orderQrcodeArea;

    /** 服务费 （如果师傅选择多个，费用合计） */
    @Excel(name = "服务费 ", readConverterExp = "如=果师傅选择多个，费用合计")
    private BigDecimal orderServiceMoney;

    /** 上门费 */
    @Excel(name = "上门费")
    private BigDecimal orderDoorMoney;

    /** 接单师傅ID */
    @Excel(name = "接单师傅ID")
    private String repairStoreId;

    /** 抽成费用 扫码的根据提成点设置。其他的系统固定抽成 */
    @Excel(name = "抽成费用 扫码的根据提成点设置。其他的系统固定抽成")
    private BigDecimal orderFixdraw;

    /** 固定抽成费用支付状态 0未支付 1已支付 */
    @Excel(name = "固定抽成费用支付状态 0未支付 1已支付")
    private String orderFixdrawState;

    /** 提成点id（通过扫码下单的id） */
    @Excel(name = "提成点id", readConverterExp = "通=过扫码下单的id")
    private String rakerId;

    /** 省份 */
    @Excel(name = "省份")
    private String orderPrivinceName;

    /** 省份id */
    @Excel(name = "省份id")
    private String orderProvince;

    /** 城市 */
    @Excel(name = "城市")
    private String orderCityName;

    /** 城市id */
    @Excel(name = "城市id")
    private String orderCity;

    /** 区县 */
    @Excel(name = "区县")
    private String orderDistrictName;

    /** 区县id */
    @Excel(name = "区县id")
    private String orderDistrict;

    private String orderType;

    private String typeNameFirst;

    private String typeNameSecond;

    private String typeNameThird;

    private String typeImage;

    private String agentId;

    private String orderTypeName;

    private String orderStateName;

    private String serviceTypeName;

    private Date receiptTime;

    private Date appointmentTime;

    private Date todoorTime;

    private Date completeTime;

    private String secondTypeId;

    private String storePerson;

    private String storePhone;

    private String rakerStoreName;

    private String rakerStorePerson;

    private String rakerStorePhone;

    /** 扫码单服务费信息 */
    private List<ZsyhPersonOrderMoney> zsyhPersonOrderMoneyList;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setUserAddress(String userAddress) 
    {
        this.userAddress = userAddress;
    }

    public String getUserAddress() 
    {
        return userAddress;
    }
    public void setServiceTypeId(String serviceTypeId) 
    {
        this.serviceTypeId = serviceTypeId;
    }

    public String getServiceTypeId() 
    {
        return serviceTypeId;
    }
    public void setFaultComment(String faultComment) 
    {
        this.faultComment = faultComment;
    }

    public String getFaultComment() 
    {
        return faultComment;
    }
    public void setOrderState(String orderState) 
    {
        this.orderState = orderState;
    }

    public String getOrderState() 
    {
        return orderState;
    }
    public void setOrderNumber(Long orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public Long getOrderNumber() 
    {
        return orderNumber;
    }
    public void setOrderImage(String orderImage) 
    {
        this.orderImage = orderImage;
    }

    public String getOrderImage() 
    {
        return orderImage;
    }
    public void setCompleteImage(String completeImage) 
    {
        this.completeImage = completeImage;
    }

    public String getCompleteImage() 
    {
        return completeImage;
    }
    public void setCompleteRemark(String completeRemark) 
    {
        this.completeRemark = completeRemark;
    }

    public String getCompleteRemark() 
    {
        return completeRemark;
    }
    public void setOrderQrcodeArea(String orderQrcodeArea) 
    {
        this.orderQrcodeArea = orderQrcodeArea;
    }

    public String getOrderQrcodeArea() 
    {
        return orderQrcodeArea;
    }
    public void setOrderServiceMoney(BigDecimal orderServiceMoney) 
    {
        this.orderServiceMoney = orderServiceMoney;
    }

    public BigDecimal getOrderServiceMoney() 
    {
        return orderServiceMoney;
    }
    public void setOrderDoorMoney(BigDecimal orderDoorMoney) 
    {
        this.orderDoorMoney = orderDoorMoney;
    }

    public BigDecimal getOrderDoorMoney() 
    {
        return orderDoorMoney;
    }
    public void setRepairStoreId(String repairStoreId) 
    {
        this.repairStoreId = repairStoreId;
    }

    public String getRepairStoreId() 
    {
        return repairStoreId;
    }
    public void setOrderFixdraw(BigDecimal orderFixdraw) 
    {
        this.orderFixdraw = orderFixdraw;
    }

    public BigDecimal getOrderFixdraw() 
    {
        return orderFixdraw;
    }
    public void setOrderFixdrawState(String orderFixdrawState) 
    {
        this.orderFixdrawState = orderFixdrawState;
    }

    public String getOrderFixdrawState() 
    {
        return orderFixdrawState;
    }
    public void setRakerId(String rakerId) 
    {
        this.rakerId = rakerId;
    }

    public String getRakerId() 
    {
        return rakerId;
    }
    public void setOrderPrivinceName(String orderPrivinceName) 
    {
        this.orderPrivinceName = orderPrivinceName;
    }

    public String getOrderPrivinceName() 
    {
        return orderPrivinceName;
    }
    public void setOrderProvince(String orderProvince) 
    {
        this.orderProvince = orderProvince;
    }

    public String getOrderProvince() 
    {
        return orderProvince;
    }
    public void setOrderCityName(String orderCityName) 
    {
        this.orderCityName = orderCityName;
    }

    public String getOrderCityName() 
    {
        return orderCityName;
    }
    public void setOrderCity(String orderCity) 
    {
        this.orderCity = orderCity;
    }

    public String getOrderCity() 
    {
        return orderCity;
    }
    public void setOrderDistrictName(String orderDistrictName) 
    {
        this.orderDistrictName = orderDistrictName;
    }

    public String getOrderDistrictName() 
    {
        return orderDistrictName;
    }
    public void setOrderDistrict(String orderDistrict) 
    {
        this.orderDistrict = orderDistrict;
    }

    public String getOrderDistrict() 
    {
        return orderDistrict;
    }

    public List<ZsyhPersonOrderMoney> getZsyhPersonOrderMoneyList()
    {
        return zsyhPersonOrderMoneyList;
    }

    public void setZsyhPersonOrderMoneyList(List<ZsyhPersonOrderMoney> zsyhPersonOrderMoneyList)
    {
        this.zsyhPersonOrderMoneyList = zsyhPersonOrderMoneyList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("userAddress", getUserAddress())
            .append("serviceTypeId", getServiceTypeId())
            .append("faultComment", getFaultComment())
            .append("orderState", getOrderState())
            .append("orderNumber", getOrderNumber())
            .append("orderImage", getOrderImage())
            .append("completeImage", getCompleteImage())
            .append("completeRemark", getCompleteRemark())
            .append("orderQrcodeArea", getOrderQrcodeArea())
            .append("orderServiceMoney", getOrderServiceMoney())
            .append("orderDoorMoney", getOrderDoorMoney())
            .append("repairStoreId", getRepairStoreId())
            .append("orderFixdraw", getOrderFixdraw())
            .append("orderFixdrawState", getOrderFixdrawState())
            .append("rakerId", getRakerId())
            .append("orderPrivinceName", getOrderPrivinceName())
            .append("orderProvince", getOrderProvince())
            .append("orderCityName", getOrderCityName())
            .append("orderCity", getOrderCity())
            .append("orderDistrictName", getOrderDistrictName())
            .append("orderDistrict", getOrderDistrict())
            .append("zsyhPersonOrderMoneyList", getZsyhPersonOrderMoneyList())
            .toString();
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getTypeNameFirst() {
        return typeNameFirst;
    }

    public void setTypeNameFirst(String typeNameFirst) {
        this.typeNameFirst = typeNameFirst;
    }

    public String getTypeNameSecond() {
        return typeNameSecond;
    }

    public void setTypeNameSecond(String typeNameSecond) {
        this.typeNameSecond = typeNameSecond;
    }

    public String getTypeNameThird() {
        return typeNameThird;
    }

    public void setTypeNameThird(String typeNameThird) {
        this.typeNameThird = typeNameThird;
    }

    public String getTypeImage() {
        return typeImage;
    }

    public void setTypeImage(String typeImage) {
        this.typeImage = typeImage;
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getOrderTypeName() {
        return orderTypeName;
    }

    public void setOrderTypeName(String orderTypeName) {
        this.orderTypeName = orderTypeName;
    }

    public String getOrderStateName() {
        return orderStateName;
    }

    public void setOrderStateName(String orderStateName) {
        this.orderStateName = orderStateName;
    }

    public String getServiceTypeName() {
        return serviceTypeName;
    }

    public void setServiceTypeName(String serviceTypeName) {
        this.serviceTypeName = serviceTypeName;
    }

    public Date getReceiptTime() {
        return receiptTime;
    }

    public void setReceiptTime(Date receiptTime) {
        this.receiptTime = receiptTime;
    }

    public Date getAppointmentTime() {
        return appointmentTime;
    }

    public void setAppointmentTime(Date appointmentTime) {
        this.appointmentTime = appointmentTime;
    }

    public Date getTodoorTime() {
        return todoorTime;
    }

    public void setTodoorTime(Date todoorTime) {
        this.todoorTime = todoorTime;
    }

    public Date getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(Date completeTime) {
        this.completeTime = completeTime;
    }

    public String getSecondTypeId() {
        return secondTypeId;
    }

    public void setSecondTypeId(String secondTypeId) {
        this.secondTypeId = secondTypeId;
    }

    public String getStorePerson() {
        return storePerson;
    }

    public void setStorePerson(String storePerson) {
        this.storePerson = storePerson;
    }

    public String getStorePhone() {
        return storePhone;
    }

    public void setStorePhone(String storePhone) {
        this.storePhone = storePhone;
    }

    public String getRakerStoreName() {
        return rakerStoreName;
    }

    public void setRakerStoreName(String rakerStoreName) {
        this.rakerStoreName = rakerStoreName;
    }

    public String getRakerStorePerson() {
        return rakerStorePerson;
    }

    public void setRakerStorePerson(String rakerStorePerson) {
        this.rakerStorePerson = rakerStorePerson;
    }

    public String getRakerStorePhone() {
        return rakerStorePhone;
    }

    public void setRakerStorePhone(String rakerStorePhone) {
        this.rakerStorePhone = rakerStorePhone;
    }
}
